

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <link rel="stylesheet" href="style.css" />
    <link rel="icon" href="pics/favicon.ico" type="image/x-icon">
    <SCRIPT LANGUAGE="JavaScript" SRC="/js/datesel.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="/js/date.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="/js/PopupWindow.js"></SCRIPT>
    <SCRIPT LANGUAGE="JavaScript" SRC="/js/AnchorPosition.js"></SCRIPT>
    <title>${self.title()}</title>
    <style>${self.style()}</style>
</head>
<body ${self.bodyspec()}>
        <div id="head" style="position:absolute;top:0px;left:0px;width:100%">
            <div id="logo" style="position:absolute;top:0px;left:0px">
                <img src="/pics/peregrino_small.gif" width="60px" height="151px" alt="prgn"></img>
            </div>
            <div id="menu" class="hmenu"  style="float:left;position:absolute;left:61px;top:0px">
                <nobr>
                    <a href="/">Home</a>&nbsp;
                    <a href="/myjourney">My journeys</a>
                    <a href="/wptypes">Waypoint types</a>
                    <a href="/regions">Regions</a>
                </nobr>
            </div>
            <div id="user" style="position:absolute;float:right;right:0px;top:0px">
                    <nobr>
                        % if ctx.user:
                            ${str(ctx.user)}
                        % else:
                            <a href="${ctx.h.loginurl("/")}">Login</a>&nbsp;Anonymous
                        % endif
                    </nobr>
            </div>
        </div>    
        <div id="content" style="position:absolute;top:152px">
        <div id="context_menu" style="background-color:#EEEEFF">
            ${self.context_menu()}
        </div>
        ${self.body()}
    </div>
</body>
</html>

<%def name="bodyspec()"></%def>

<%def name="title()">journeylogbook</%def>
<%def name="style()"></%def>
<%def name="context_menu()"></%def>
